<?php
 
/**
 * Definicoes.
 */

define("host", "localhost");
define("usuario", "root");
define("senha", "");
define("db", "bagdad");

define("PROJETO", "Bagdad Café");
define("HOME", "slider.php");

$base ="http://localhost/bagdad";

/**
 * Fim Definicoes.
 */

(strcmp("admin",$base))?$base.="/admin":null;

define("BASE", $base);

error_reporting(0);
session_start();

/**
 * Classes.
 */

require_once 'admin/lib/db.php';
require_once 'admin/lib/vital.php';
require_once 'admin/lib/form.php';
require_once 'admin/lib/menu.php';
require_once 'admin/lib/email.php';
require_once 'admin/lib/data.php';

DB::connect();

$vital   = new Vital();
$usuario = $_SESSION["usuario"];
$acao    = $_GET["acao"];
$id      = $_GET["id"];

?>